networking.networkmanager.ensureProfiles.profiles.<name>.connection.type

The connection type defines the connection kind, like vpn, wireguard, gsm, wifi and more.

Type
string
Example
"vpn"
Declared
<nixpkgs/nixos/modules/services/networking/networkmanager.nix>